import grails.util.GrailsUtil

class BootStrap {

    def fixtureLoader

    def init = {servletContext ->

        final String env = GrailsUtil.environment
        if (env == 'development' || env == 'test') {
            fixtureLoader.load('initDataDev')
        }

    }
    def destroy = {
    }
} 